package com.elinshaw.elasticsearch.repository;

import com.elinshaw.elasticsearch.entity.Commodity;
import org.springframework.data.elasticsearch.repository.ElasticsearchRepository;
import org.springframework.stereotype.Repository;

/**
 * 自定义接口继承ElasticsearchRepository
 * @author Administrator
 */
@Repository
public interface CommodityRepository extends ElasticsearchRepository<Commodity, String> {

}
